package yl.hs.bmipfull.pojo.vehiclemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  车辆信息实体类<br/>
 * 创建时间: 2021年05月20日 16时10分49秒 <br/>
 * @author 谢东
 */
@DBTable(disName = "车辆信息", mapCode = "truck_info")
public class TruckInfoEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "车辆信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "CLXX")
    private String sn;
    /**
     * 车辆牌号
     */
    @DBField(disName = "车辆牌号")
    private String truckPlate;
    /**
     * 自编号
     */
    @DBField(disName = "自编号")
    private String truckCode;
    /**
     * 蓝牙卡号
     */
    @DBField(disName = "蓝牙卡号")
    private String cardSNO;
    /**
     * 车辆用途
     */
    @DBField(disName = "车辆用途")
    private String useType;
    /**
     * 车辆来源
     */
    @DBField(disName = "车辆来源")
    private Short truckFrom;
    /**
     * 是否称重
     */
    @DBField(disName = "是否称重")
    private boolean weight;
    /**
     * 车主编号
     */
    @DBField(disName = "车主编号")
    private String ownerSN;
    /**
     * 司机编号
     */
    private String driverSN;
    /**
     * 司机姓名
     */
    @DBField(disName = "司机姓名")
    private String driverName;
    /**
     * 司机姓名拼音
     */
    private String driverNamePY;
    /**
     * 回厂时间
     */
    @DBField(disName = "回厂时间")
    private Date backTime;
    /**
     * 车辆状态
     */
    @DBField(disName = "车辆状态")
    private Short state;
    /**
     * 车辆皮重
     */
    @DBField(disName = "车辆皮重")
    private Double tareWeight;
    /**
     * 载重
     */
    @DBField(disName = "载重")
    private Double loadWeight;
    /**
     * IP地址
     */
    @DBField(disName = "IP地址")
    private String ipAdress;
    /**
     * 设备编号
     */
    @DBField(disName = "设备编号")
    private String equipmentCode;
    /**
     * 用户名
     */
    @DBField(disName = "用户名")
    private String userName;
    /**
     * 密码
     */
    @DBField(disName = "密码")
    private String password;
    /**
     * 组织编号
     */
    private String organizationSN;

    private Long sortCode;

    /**
     * 生产任务编号
     */
    private String taskSN;

    /**
     * 当前微信用户编号
     */
    private String openId;
    /**
     * 所有微信用户编号
     */
    private String wxOpenId;
    /**
     * 所有微信用户编号
     */
    private String insuranceType;
    /**
     * 所有微信用户编号
     */
    private BigDecimal insuranceAmount;
    /**
     * 所有微信用户编号
     */
    private Date insurancePurchaseDate;
    /**
     * 所有微信用户编号
     */
    private Date expiryDateOfInsurance;
    /**
     * 所有微信用户编号
     */
    private BigDecimal latestMileage;
    /**
     * 所有微信用户编号
     */
    private BigDecimal averageFuelConsumptionLastMonth;
    /**
     * 所有微信用户编号
     */
    private BigDecimal averageFuelConsumption;
    /**
     * 所有微信用户编号
     */
    private String remark;

    /**
     * 内外部车辆
     */
    @DBField(disName = "车辆归属")
    private String vehicleState;

    public String getVehicleState() {
        return vehicleState;
    }

    public void setVehicleState(String vehicleState) {
        this.vehicleState = vehicleState;
    }

    public String getTaskSN() {
        return taskSN;
    }

    public void setTaskSN(String taskSN) {
        this.taskSN = taskSN;
    }

    public String getOrganizationSN() {
        return organizationSN;
    }

    public void setOrganizationSN(String organizationSN) {
        this.organizationSN = organizationSN;
    }

    public Long getSortCode() {
        return sortCode;
    }

    public void setSortCode(Long sortCode) {
        this.sortCode = sortCode;
    }

    public Double getLoadWeight() {
        return loadWeight;
    }

    public void setLoadWeight(Double loadWeight) {
        this.loadWeight = loadWeight;
    }

    public String getIpAdress() {
        return ipAdress;
    }

    public void setIpAdress(String ipAdress) {
        this.ipAdress = ipAdress;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Double getTareWeight() {
        return tareWeight;
    }

    public void setTareWeight(Double tareWeight) {
        this.tareWeight = tareWeight;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTruckPlate() {
        return this.truckPlate;
    }

    public void setTruckPlate(String truckPlate) {
        this.truckPlate = truckPlate;
    }

    public String getTruckCode() {
        return this.truckCode;
    }

    public void setTruckCode(String truckCode) {
        this.truckCode = truckCode;
    }

    public String getCardSNO() {
        return this.cardSNO;
    }

    public void setCardSNO(String cardSNO) {
        this.cardSNO = cardSNO;
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    public Short getTruckFrom() {
        return this.truckFrom;
    }

    public void setTruckFrom(Short truckFrom) {
        this.truckFrom = truckFrom;
    }

    public boolean isWeight() {
        return weight;
    }

    public void setWeight(boolean weight) {
        this.weight = weight;
    }

    public String getOwnerSN() {
        return this.ownerSN;
    }

    public void setOwnerSN(String ownerSN) {
        this.ownerSN = ownerSN;
    }

    public String getDriverSN() {
        return this.driverSN;
    }

    public void setDriverSN(String driverSN) {
        this.driverSN = driverSN;
    }

    public String getDriverName() {
        return this.driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverNamePY() {
        return this.driverNamePY;
    }

    public void setDriverNamePY(String driverNamePY) {
        this.driverNamePY = driverNamePY;
    }

    public Date getBackTime() {
        return this.backTime;
    }

    public void setBackTime(Date backTime) {
        this.backTime = backTime;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public String getInsuranceType() {
        return insuranceType;
    }

    public void setInsuranceType(String insuranceType) {
        this.insuranceType = insuranceType;
    }

    public BigDecimal getInsuranceAmount() {
        return insuranceAmount;
    }

    public void setInsuranceAmount(BigDecimal insuranceAmount) {
        this.insuranceAmount = insuranceAmount;
    }

    public Date getInsurancePurchaseDate() {
        return insurancePurchaseDate;
    }

    public void setInsurancePurchaseDate(Date insurancePurchaseDate) {
        this.insurancePurchaseDate = insurancePurchaseDate;
    }

    public Date getExpiryDateOfInsurance() {
        return expiryDateOfInsurance;
    }

    public void setExpiryDateOfInsurance(Date expiryDateOfInsurance) {
        this.expiryDateOfInsurance = expiryDateOfInsurance;
    }

    public BigDecimal getLatestMileage() {
        return latestMileage;
    }

    public void setLatestMileage(BigDecimal latestMileage) {
        this.latestMileage = latestMileage;
    }

    public BigDecimal getAverageFuelConsumptionLastMonth() {
        return averageFuelConsumptionLastMonth;
    }

    public void setAverageFuelConsumptionLastMonth(BigDecimal averageFuelConsumptionLastMonth) {
        this.averageFuelConsumptionLastMonth = averageFuelConsumptionLastMonth;
    }

    public BigDecimal getAverageFuelConsumption() {
        return averageFuelConsumption;
    }

    public void setAverageFuelConsumption(BigDecimal averageFuelConsumption) {
        this.averageFuelConsumption = averageFuelConsumption;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}